package cn.javass.dp.strategy.mydemo1;

import java.util.ArrayList;
import java.util.List;

public class Client {
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("0001");
        list.add("0002");


        for (int i = 0; i < list.size(); i++) {
            CostsType  type = CostsType.getCompanyByCode(list.get(i));
            Context ctx =  new Context(type,0,15,null,null,null);
            System.out.println("ctx = " + ctx.calcCosts());
        }

    }
}
